from create_sub_file.create_subfile_amg import *
from create_sub_file.create_subfile_normal import *

def create_sub_file(myconfig):
    test_type = myconfig["test_type"].lower()
    if test_type == "normal":
        create_sub_normal_file(myconfig)
    elif test_type == "amg":
        create_sub_amg_file(myconfig)
    else:
        print(f"Tyep: {test_type} is not supporsed in this version!")
        exit(0)